package com.dsg.service.oil;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsg.entity.oil.DsgOilAccount;

public interface IDsgOilAccountService extends IService<DsgOilAccount> {

    /**
     * 查询列表
     *
     * @param dsgOilAccount
     * @return
     */
    IPage<DsgOilAccount> selectByList(Page<DsgOilAccount> page, DsgOilAccount dsgOilAccount);

    /**
     * 設置默認賬戶
     * @param id
     * @return
     */
    boolean updateDefault(String id);
}
